<template>
	<view class="layout">
		<user-defineExpose47 ref="user_date" ></user-defineExpose47>
		<view>-------------</view>
		<button type="primary" @click="add">加一</button>
	</view>
</template>

<script setup>
import { onMounted, ref } from 'vue';

const user_date = ref("null")
//console.log(user_date.value);
//null

const add = function(){
	user_date.value.update()
}

onMounted(()=>{
	console.log(user_date.value);
})

</script>

<style lang="scss" scoped>
	       
</style>
